package com.bigdatastudio.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

// 扫描其他模块下的com.bigdatastudio目录下的包，不然有些类注入不进去
@SpringBootApplication(scanBasePackages = "com.bigdatastudio")
@EnableFeignClients(basePackages = "com.bigdatastudio.openfeign")
@EnableHystrix
@RefreshScope
public class BigdatastudioAuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(BigdatastudioAuthApplication.class, args);
    }

}
